FROM alpine:3.14

ENV      TZ=Asia/Shanghai

# 设置工作目录
WORKDIR /opt

# 复制结果
COPY mcp-demo /opt/mcp-demo

# 修改为可执行文件
RUN chmod +x mcp-demo

# 确保覆盖基础镜像可能的ENTRYPOINT 不加会报错
ENTRYPOINT []

CMD ["./mcp-demo"]

EXPOSE 8888
